﻿using System;

namespace Dxr.Police.Models
{
    public class HttpResult
    {
        public const string Success = "ok";
        public const string Warn = "warn";
        public const string Error = "error";

        public string ret
        { get; set; }

        public string msg
        { get; set; }

        public object content
        { get; set; }
    }

    public class HttpResult<T> : HttpResult
    {
        public new T content { get; set; }
    }
}
